<!-- templates/class/student_list.html -->
{% extends "base.html" %}
{% block title %}学生信息管理{% endblock %}

{% block content %}
<div class="layui-layout layui-layout-admin">
    <!-- 复用与首页相同的布局结构 -->
    <!-- 左侧菜单自动高亮学生管理 -->
    <!-- 右侧展示学生列表 -->

    <!-- 搜索框 -->
    {% include "components/search_box.html" with keyword=keyword placeholder="请输入学生姓名或学号" %}

    <!-- 表格展示 -->
    {% include "components/table_student.html" with students=students %}

    <!-- 分页控件 -->
    {% include "components/pagination.html" with elem_id="student-page" count=students.paginator.count current_page=students.number keyword=keyword %}
</div>
{% endblock %}
